package jgl.vajra.operator.part.mine.model;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.operator.bean.LoginInfoBean;
import jgl.vajra.operator.part.mine.contract.PersonalInformationContract;
import jgl.vajra.operator.widget.manager.RxJavaHttpManager;
import jgl.vajra.operator.widget.manager.retrofit.RetrofitJsonManager;

public class PersonalInformationModel extends PersonalInformationContract.Model{
    @Override
    public Observable<LoginInfoBean> getMineData(Map<String, Object> map) {
        return RetrofitJsonManager.getInstance().getApiService().getMineData(map)
                .compose(RxJavaHttpManager.applyTransformer());
    }
}
